package com.ape.mapsa.produccion.dao;

import java.util.List;

public interface GenericDAO<T, PK extends java.io.Serializable> {
	T findById(PK id);

	T getById(PK id);

	List<T> findByExample(T exampleInstance, String... exlcudeProperty);

	T save(T entity);

	void update(T entity);

	void delete(T entity);

	List<T> getAll();

}